<form  action="human_res.php" method="get">
<select name="id_company" onchange="" style="width:250px;">
 


<?php
    echo "<option>-- Select Item --</option>\n";
	$instructiune="SELECT name FROM companies;";
	$interogare=mysql_query($instructiune);
	while($rand=mysql_fetch_array($interogare))
		{
			if($_GET["id_company"]==$rand['name']) $selected="selected";
				else $selected="";
			echo("\t   <option {".$selected."} value='".$rand['name']."'> ".$rand['name']." </option>  \n");
			
		}
?>
</select>
</form>